home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
051-075
/
disk_055
/
palette
/
poster
< prev
Wrap
Text File
|
1992-05-06
|
2KB
|
40 lines
==========================
amiga/main #6434, from cscheppner, 1687 chars, Wed Feb 4 16:06:34 1987
This is a comment to message 6396.
There is/are comment(s) on this message.
--------------------------
RE: Changing another program's custom screen colors
I wrote a Palette tool a while back. Since I had never used gadgets,
I started with Charlie Heath's palette.c. By the time I was done
there was very little, if any, of the original code left, except for
perhaps the prop dimensions and the concept of displaying the hex
value of the current color. In the initial comments I say
"Inspired by Charlie Heath's Palette.c" but I never posted it
anywhere because his had copyright restrictions and I never would
have been able to write mine at the time if I hadn't had his
to start from.
Anyway, it can be started from CLI or an WB. With no args or from
WB, it comes up on the front screen. My color chips are all dynamically
allocated and defined gadgets. You get 2 real big ones on a 1 plane
screen, 4 medium size ones on a 2 plane screen, and rows of small ones
on higher plane screens. In addition, from CLI, you can pass numeric
args, in which case it opens the requested custom screen and becomes
a useful tool for creating palettes for your own custom screen programs
(palettes which other people can complain about and want to change ;-)
I never got around to adding any Save or Load options, so you have
to write down the hex values when you find something you like.
Back to the point! This tool is really handy for modifying the
custom screen palette of another program. I keep it on my telecomm
disk and pop it up on my VT100 screen whenever I feel like some
different colors. There's only one problem with it --- it's so
much fun to play with that it's a real time-waster.
If Charlie doesn't mind, I'll post it. Charlie ???
carolyn --- cats